<extend name="Base/common"/>
<block name="Content">
    <div class="am-cf am-padding-top am-padding-left">
        <div class="am-fl am-cf">
            <i class="am-icon-file"></i>
            <strong class="am-text-primary am-text-lg">修改密码</strong>
        </div>
        <hr data-am-widget="divider" class="am-divider am-divider-default" />
    </div>
    <div class="am-tabs" data-am-tabs>
        <ul class="am-tabs-nav am-nav am-nav-tabs">
            <li>
                <a href="#tab2">修改密码</a>
            </li>
        </ul>
        <div class="am-tabs-bd">
            <div class="am-tab-panel am-fade" id="tab2">
                <form class="am-form" method="post" action="{:U('Index/updatePassword')}">
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            用户名
                        </div>
                        <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                            {$ADMIN_NAME}
                        </div>
                        <div class="am-hide-sm-only am-u-md-6">
                        </div>
                    </div>
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            密码
                        </div>
                        <div class="am-u-sm-8 am-u-md-4">
                            <input type="password" id="password" name="password" class="am-input-xs" placeholder="密码" required/>
                        </div>
                        <div class="am-hide-sm-only am-u-md-6">
                            *必填
                        </div>
                    </div>
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            确认密码
                        </div>
                        <div class="am-u-sm-8 am-u-md-4">
                            <input type="password" id="repassword" name="repassword" class="am-input-xs" placeholder="确认密码" data-equal-to="#password" required/>
                        </div>
                        <div class="am-hide-sm-only am-u-md-6">
                            *必填
                        </div>
                    </div>
                    <div class="am-margin">
                        <button type="submit" class="am-btn am-btn-success am-btn-xs am-btn-xs ajax-post" target-form="am-form">
                            提交保存
                        </button>
                        <input type="hidden" value="{$ADMIN_ID}" name="admin_id"/>
                    </div>
                </form>
            </div>
        </div>
    </div>
</block>